import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { GoodsService } from './goods.service';
import { GoodsController } from './goods.controller';
import {Goods} from './goods.entity'
import { SkuType } from 'src/skuType/skuType.entity';
import { GoodsType } from 'src/goodsType/goodsType.entity';
import { Sku } from 'src/sku/sku.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Goods, GoodsType, Sku, SkuType])],
  providers: [GoodsService],
  controllers: [GoodsController],
})
export class GoodsModule {}